<p>
  You can optionally pass in a context when manually triggering a popover.
</p>

<ng-template #popContent let-greeting="greeting">{{greeting}}, <b>{{name}}</b>!</ng-template>
<button
  type="button" class="btn btn-outline-secondary mr-2"
  [ngbPopover]="popContent" popoverTitle="Greeting"
  triggers="manual" #p1="ngbPopover" (click)="toggleWithGreeting(p1, 'Bonjour')"
>
  French
</button>
<button
  type="button" class="btn btn-outline-secondary mr-2"
  [ngbPopover]="popContent" popoverTitle="Greeting"
  triggers="manual" #p2="ngbPopover" (click)="toggleWithGreeting(p2, 'Gutentag')"
>
  German
</button>
<button
  type="button" class="btn btn-outline-secondary mr-2"
  [ngbPopover]="popContent" popoverTitle="Greeting"
  triggers="manual" #p3="ngbPopover" (click)="toggleWithGreeting(p3, 'Hello')"
>
  English
</button>
